package com.econ.powercloud.ems.dal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 群控记录表
    */
@Data
@TableName(value = "ems_control_record")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class EmsControlRecord {
    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 状态
     */
    @TableField(value = "`status`")
    private Integer status;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private Long gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modify")
    private Long gmtModify;

    /**
     * 创建人
     */
    @TableField(value = "created_by")
    private String createdBy;
}